package com.ticket.sass.provider.dto.input.areas;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;

/**
 * @author ywb
 * @date 2022-09-27 16:42
 */
@Data
@ApiModel(value = "区域列表输入DTO", description = "按照要求填写")
public class AreaListInput {
    @Pattern(regexp="^[0-9]*$", message="必须为数字")
    @ApiModelProperty(value = "父级编码 为空 则查询省")
    private String parentCode;
}
